<!DOCTYPE html>
<html lang="en">
<head>
  <title>Bootstrap Dynamic Tabs</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>

  <link rel="stylesheet" href="bootstrap-dynamic-tabs.css">
  <script src="bootstrap-dynamic-tabs.js"></script>
</head>
<body>
<div class="container">
  <h3>Tabs</h3>
  <h4>Resize browser to see responsiveness</h4>
  <br>
  <ul id="mytabs" class="nav nav-pills">
    <li class="active"><a href="#home" data-toggle="pill">Home</a></li>
    <li><a href="#menu1" data-toggle="pill">This is Menu item 1</a></li>
    <li><a href="#menu2" data-toggle="pill">This is Menu item 2</a></li>
    <li><a href="#menu3" data-toggle="pill">This is Menu item 3</a></li>
    <li><a href="#menu4" data-toggle="pill">This is Menu item 4</a></li>
    <li><a href="#menu5" data-toggle="pill">This is Menu item 5</a></li>
    <li><a href="#menu6" data-toggle="pill">This is Menu item 6</a></li>
    <li><a href="#menu7" data-toggle="pill">This is Menu item 7</a></li>
    <li><a href="#menu8" data-toggle="pill">This is Menu item 8</a></li>
    <li><a href="#menu9" data-toggle="pill">This is Menu item 9</a></li>
    <li><a href="#menu10" data-toggle="pill">This is Menu item 10</a></li>
  </ul>
  <div class="tab-content">
    <div id="home" class="tab-pane fade in active">
      <h3>HOME</h3>
      <p>Some content.</p>
    </div>
    <div id="menu1" class="tab-pane fade">
      <h3>Menu 1</h3>
      <p>Some content in menu 1.</p>
    </div>
    <div id="menu2" class="tab-pane fade">
      <h3>Menu 2</h3>
      <p>Some content in menu 2.</p>
    </div>
    <div id="menu3" class="tab-pane fade">
      <h3>Menu 3</h3>
      <p>Some content in menu 2.</p>
    </div>
    <div id="menu4" class="tab-pane fade">
      <h3>Menu 4</h3>
      <p>Some content in menu 2.</p>
    </div>
    <div id="menu5" class="tab-pane fade">
      <h3>Menu 5</h3>
      <p>Some content in menu 2.</p>
    </div>
    <div id="menu6" class="tab-pane fade">
      <h3>Menu 6</h3>
      <p>Some content in menu 2.</p>
    </div>
    <div id="menu7" class="tab-pane fade">
      <h3>Menu 7</h3>
      <p>Some content in menu 2.</p>
    </div>
    <div id="menu8" class="tab-pane fade">
      <h3>Menu 8</h3>
      <p>Some content in menu 2.</p>
    </div>
    <div id="menu9" class="tab-pane fade">
      <h3>Menu 9</h3>
      <p>Some content in menu 2.</p>
    </div>
    <div id="menu10" class="tab-pane fade">
      <h3>Menu 10</h3>
      <p>Some content in menu 2.</p>
    </div>
  </div>  
  <script>
  $("#mytabs").bootstrapDynamicTabs();
  </script>
</div>

</body>
</html>
